I'm new to alpha 5 web server. I want to learn how to do the following.
I have an ms access database truck dispatch program and am converting it to the web before long. Here's what I'm after. Three main tables are involved in all loads. 1. Loadsheet 2. Picks 3. Drops. Now a fourth table called Dispatch shows all info "at a glance only" of the above three tables. Here's how: An example is I use standard programming to fill most fields, but for picks/drops I do a find first occurrence of a certain tripnumber, and have the table queried by tripnumber/pickno if dealing with pick table. I simple loop through these records and if first pass through then in a variable that holds load location ,say vcity for example,
vcity = lcity + ", " + " " + lstate.
If second time through:
vcity = vcity + " / ? + lcity + ", " + " " + lstate.
I'm sure any programmer gets the drift and jest of this. HOWEVER, here's my problem. I can do this in ms access, and in alpha5 v7 with no problem at all. HOW do I accomplish this using the web part of alpha 5? I figured out the grids and child stuff for the loadsheet and pick/drop tables. But how do I loop through and write to the dispatch table? Please be detailed, I don't even know where to put code. If some one knows please let me know. Bear in mind, a load might have 3 picks, this is why I put all in a quick view dispatch table for quick viewing and decision making.
I have an ms access database truck dispatch program and am converting it to the web before long. Here's what I'm after. Three main tables are involved in all loads. 1. Loadsheet 2. Picks 3. Drops. Now a fourth table called Dispatch shows all info "at a glance only" of the above three tables. Here's how: An example is I use standard programming to fill most fields, but for picks/drops I do a find first occurrence of a certain tripnumber, and have the table queried by tripnumber/pickno if dealing with pick table. I simple loop through these records and if first pass through then in a variable that holds load location ,say vcity for example,
vcity = lcity + ", " + " " + lstate.
If second time through:
vcity = vcity + " / ? + lcity + ", " + " " + lstate.
I'm sure any programmer gets the drift and jest of this. HOWEVER, here's my problem. I can do this in ms access, and in alpha5 v7 with no problem at all. HOW do I accomplish this using the web part of alpha 5? I figured out the grids and child stuff for the loadsheet and pick/drop tables. But how do I loop through and write to the dispatch table? Please be detailed, I don't even know where to put code. If some one knows please let me know. Bear in mind, a load might have 3 picks, this is why I put all in a quick view dispatch table for quick viewing and decision making.
Comment