no you did not flame me i just thought you might think i'm a bit dumb in not understanding fully the workings of the tcursor or that i find it hard to know just where to place the code infact you are being a great help.
o.k i use the set range on the Boxno field which is a keyed field.(i got the code from a paradox unleashed cd)This field has a continuouse imput, as we send out the boxes in 10's or 15 etc i want to record the delivery note they were sent out on, in the table field Stockno. (You are correct that i want to set the stockcode for all the selected records to one value, no records have a stockcode in them to sart with the Stockno field is blank )At the moment i put this field into edit mode and enter the Stockno manually down the field for the selected records.The Stockno comes from the number we have on our courier despatch note, not generated by the computer.
The next set of boxes to be despatched will have a totally different despatch number to be entered in the Stockno field. The idea is that for any box we can keep a permanant record of the despatch note the box went out on and shoulld we have a customer query we can quickly check the record for the box.If it would help i could put a number in the stockcode field default value,then for the selected records change this to the new Stockcode number.I could also put an unbound field on the form and enter the despatch number rather than directly into the Stockno field on the table frame.would either of these help.
thanks for being patient.