Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Record sets?

Hi I hope this will have a simple answer.

I have the following code.

output = rs!age33

but what i want is to use a variable instead of age33

this is what i hoped would work but didn't and should make thinks
clearer.

lookup_age = 33

Query_Age = "Age" & Lookup_Age

output = rs!query_age

can anyone help

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default Record sets?


Please describe your recordset; specifically, what are the names of the
fields and how it is created (via what query). Are you trying to return the
results of the rs only where age = 33 (essentially filter your rs)?

Regards,
Bill


"JJ" wrote:

Hi I hope this will have a simple answer.

I have the following code.

output = rs!age33

but what i want is to use a variable instead of age33

this is what i hoped would work but didn't and should make thinks
clearer.

lookup_age = 33

Query_Age = "Age" & Lookup_Age

output = rs!query_age

can anyone help


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open new record with selected fields from previous record Design by Sue Excel Discussion (Misc queries) 1 June 12th 09 02:24 PM
Excel graph 3 sets of data. 2 sets as lines 1 as column? AndyN Charts and Charting in Excel 2 July 11th 08 01:18 PM
Finding last record in month for each of several types of record. Richard Buttrey Excel Programming 5 April 4th 05 02:11 AM
Record Macro - Record custom user actions Sal[_4_] Excel Programming 1 December 23rd 04 03:18 PM
Need help autopopulating next new record with previous record data Harry S[_3_] Excel Programming 2 October 1st 03 10:59 PM


All times are GMT +1. The time now is 01:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"