Len([fieldname])

  • Thread starter Thread starter Jim Carlock
  • Start date Start date
J

Jim Carlock

There a way to get a field to read the length of a
field in the same table, ie...

tMnemonics
Mnemonic, Text, 128, DefaultValue:""
LenMnemonic, Number, Long, DefaultValue: Len([Mnemonic])

I've tried the following with no success at the moment...

Len([tMnemonics]![Mnemonic])
Len([Mnemonic])
Len(tMnemonics.Mnemonic)

Hmmm, this only available in a query?
 
Jim Carlock said:
There a way to get a field to read the length of a
field in the same table, ie...

tMnemonics
Mnemonic, Text, 128, DefaultValue:""
LenMnemonic, Number, Long, DefaultValue: Len([Mnemonic])

I've tried the following with no success at the moment...

Len([tMnemonics]![Mnemonic])
Len([Mnemonic])
Len(tMnemonics.Mnemonic)

Hmmm, this only available in a query?

Only in a query. There are no calculated fields in tables.
 
Thanks much, Dirk.

--
Jim Carlock
Post replies to the newsgroup, thanks.

Jim Carlock said:
There a way to get a field to read the length of a
field in the same table, ie...

tMnemonics
Mnemonic, Text, 128, DefaultValue:""
LenMnemonic, Number, Long, DefaultValue: Len([Mnemonic])

I've tried the following with no success at the moment...

Len([tMnemonics]![Mnemonic])
Len([Mnemonic])
Len(tMnemonics.Mnemonic)

Hmmm, this only available in a query?


"Dirk Goldgar" <[email protected]> replied:
Only in a query. There are no calculated fields in tables.
 

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