如何在其他表中使用userno [英] how to use userno in other table

查看:84
本文介绍了如何在其他表中使用userno的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用userno登录时...我只想使用那个用户不会在我添加任何客户时自动插入我的数据库





例如:

在客户表中

cno

cname

cadd
cmobile否

userno

请任何人帮助我......

when i login using a userno... i just want to use only that user no should automatically inserted in my databse whenever i add any customer


for eg:
in customer table
cno
cname
cadd
cmobile no
userno
pls can any one help me ......

推荐答案

术语 自动 仅适用于最终用户和/或功能/业务分析师。



对于我们的开发人员来说,没有这样的术语。虽然,很多工具和框架现在让生活更轻松。



回到你的问题,它不会自动发生。您需要确保将当前登录的用户/ ID传递给创建客户记录的功能。
The term automatically is only applicable for the end users and/or functional/business analysts.

For us developers, there is not term as such. Although, lot of tools and frameworks have made life easier now.

Coming back to your question, it's not going to happen automatically. You need to make sure you pass the current logged in user/id to the function which creates customer record.


这篇关于如何在其他表中使用userno的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆