Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Data Access Pages

Author  Topic 

vux
Starting Member

45 Posts

Posted - 2004-09-03 : 04:22:56
Hello,

I have a text field (A) n which I want to divide the values of 2 other text fields (B,C) from the webpage.

If I do this kind of thing on a form its straight forward: I simply name the the other textboxes (B,C) in the properties->controlSource field of the textfield(A) and put a "/" in between. Unfortunately this does not work on a page.

Does someone has a solution, can I somehow use VB? I never used VB, so I do not know anything about how to apply it.

Thx

timmy
Master Smack Fu Yak Hacker

1242 Posts

Posted - 2004-09-05 : 19:21:30
You could create a query that does the split you need, then use the query as the source of the DAP. But - this will result in a read-only field.
Anything else will require you to use some sort of macro/VB code.
But I would still prefer to convert the pages to ASP - much easier IMHO (but does require coding knowledge)
Go to Top of Page
   

- Advertisement -