get a single field value without a lot of code?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Instead of using an INI file or other means of containing application
variables I have
created a appvariables table in Access 2000.

The table will only contains 1 record with 1 or more fields.

Is there a function that I can use to quickly get stick a particular field
into a dynamic variable without having to write all the open recordset and
read code?

thanks

Chris
 
Hi,

Instead of using an INI file or other means of containing application
variables I have
created a appvariables table in Access 2000.

The table will only contains 1 record with 1 or more fields.

Is there a function that I can use to quickly get stick a particular field
into a dynamic variable without having to write all the open recordset and
read code?

thanks

Chris

The table contains just one record?
MyVariable = DLookUp("[FieldName]","TableName")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top